package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "visa.wechat.pay")
@Data
public class WeChatPayProperties {
    private String appid;     // 小程序appid
    private String mchId;     // 商户号
    private String mchKey;    // 商户密钥
    private String notifyUrl; // 支付成功回调地址
    private String keyPath;   // 商户私钥文件路径
}